package pojo.nutz;

import org.nutz.dao.entity.annotation.*;

@Table("t_blogpages")
public class Blogpage {
	@Id // 表示该字段为一个自增长的Id,注意,是数据库表中自增!!
	public int id;
	@Column
	public String title;
	@Column
	public int cat;
	@Column
	public String content1;
	@Column
	public int userid;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public int getCat() {
		return cat;
	}

	public void setCat(int cat) {
		this.cat = cat;
	}

	public String getContent1() {
		return content1;
	}

	public void setContent1(String content1) {
		this.content1 = content1;
	}

	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}
}
